package com.quectel.mobile.vo.partyexam;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 在这里编写说明
 *
 * @author: ryan
 * @email: ryan.ran@quectel.com
 * @date: 2023-06-30 10:31:00
 */

@Data
public class SubmitReq {
    @Schema(description = "考试测试 id")
    @NotNull
    private Long testId;

    @Schema(description = "答案列表")
    @Valid
    private List<AnswerCls> answerList;

    @Data
    public static class AnswerCls{
        @Schema(description = "题目 id")
        @NotNull
        private Long questionId;
        @Schema(description = "考生答案")
        @NotNull
        private String[] answer;
    }
}
